package com.yourname.bank_sim.entity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 操作日志类
 */
public class ActionLog {
    private Date date;//操作时间

    private String actor;//操作者账号
    private BigDecimal amount;//金额

    private BigDecimal balence;//余额
    private String actionType;//操作类型
    private boolean success;//是否成功

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getActor() {
        return actor;
    }

    public void setActor(String actor) {
        this.actor = actor;
    }

    public BigDecimal getBalence() {
        return balence;
    }

    public void setBalence(BigDecimal balence) {
        this.balence = balence;
    }

    public String getActionType() {
        return actionType;
    }

    public void setActionType(String actionType) {
        this.actionType = actionType;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }
}
